﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.master" AutoEventWireup="true" CodeFile="ViewParcelType.aspx.cs" Inherits="Admin_Package_ViewPackageType" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <h1>VIEW PARCEL Type</h1>
    <p>
        <asp:HyperLink ID="HyperLink1" runat="server"
            NavigateUrl="~/Admin/ParcelType/NewParcelType.aspx">New Parcel Type</asp:HyperLink>
        &nbsp;|
        <asp:HyperLink ID="HyperLink2" runat="server"
            NavigateUrl="~/Admin/ParcelType/ViewParcelType.aspx">View Parcel Type</asp:HyperLink>
    </p>
    <p>

        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
            CellPadding="4" DataKeyNames="ID" DataSourceID="SqlDataSource1"
            ForeColor="#333333" Width="100%" OnRowCommand="GridView1_RowCommand">
            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
            <Columns>
                <asp:BoundField DataField="ID" HeaderText="ID" InsertVisible="False"
                    ReadOnly="True" SortExpression="ID" />
                <asp:BoundField DataField="ParcelType" HeaderText="ParcelType"
                    SortExpression="ParcelType" />
                <asp:BoundField DataField="AdditionalFee" HeaderText="AdditionalFee"
                    SortExpression="AdditionalFee" DataFormatString="${0:##.00}" />
                <asp:HyperLinkField DataNavigateUrlFields="ID"
                    DataNavigateUrlFormatString="./EditParcelType.aspx?id={0}" Text="Edit" />
            </Columns>
            <EditRowStyle BackColor="#999999" />
            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#E9E7E2" />
            <SortedAscendingHeaderStyle BackColor="#506C8C" />
            <SortedDescendingCellStyle BackColor="#FFFDF8" />
            <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
        </asp:GridView>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server"
            ConnectionString="<%$ ConnectionStrings:MailSystem32ConnectionString %>"
            SelectCommand="SELECT * FROM [tblParcelType]"></asp:SqlDataSource>
</asp:Content>

